package src.edu.wayne.cs.csc4110.hw6.interfaces;

import java.util.HashSet;

import javax.swing.JPanel;

public interface PluginToFrameWorkInterface {
	
	/**
	 * Provides a way for the gamePlugin to send panels to the Framework
	 * @param newPanel
	 * @param newTitle
	 */
	public void setCurrentPanel(JPanel newPanel, String newTitle);
	
	/**
	 * g\Gets users that are logged in.
	 * @return HashSet<User>
	 */
	
	public abstract HashSet<GameUser> getPlayersInSession();
	
	/**
	 * The plugin uses this method to signal the framework that the game has
	 * concluded.
	 */
	public void endGame();

}
